<fieldset id="login_form_page_wrapper">
	<legend>Trang đăng nhập</legend>
	<?php 
		$attrs = array('id' => 'login_page', 'name' => 'login_form');
		echo form_open('', $attrs);
	?>	
		<p>
			<label for="login_username">Tên đăng nhập:</label><br/>
			<input value="<?php echo set_value('username'); ?>" type="text" size="40" id="login_username" name="username" />
			<?php if(isset($errors['username'])) 
				echo '<span class="error">' . $errors['username'] . '</span>'; 
			?>
		</p>
		<p>
			<label for="login_password">Mật khẩu:</label><br/>
			<input type="password" size="40" id="login_password" name="password" />			
		</p>
		<p>
			<label>&nbsp;</label>
			<input type="submit" name="login" id="login_page_button" value="Đăng nhập" />
		</p>
		<p>
			<?php if(isset($errors['wrong'])) 
				echo '<span class="error">' . $errors['wrong'] . '</span>'; 
			?>
		</p>
	</form>
</fieldset>
